<%@ Page Language="VB" AutoEventWireup="false" CodeFile="DDERE.aspx.vb" Inherits="DDERE" Culture="pt-BR" UICulture="pt-BR" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Sistema LIIOn</title>
</head>
<body>
    <form id="form1" runat="server">
    <table style="z-index: 100; left: 1px; top: 2px; position: absolute">
        <tr id="L1">
            <td id="L1C1" style="height: 68px; width: 10px;">
            &nbsp;
            </td>
            <td id="L1C2" style="height: 68px; width: 80%; background-color: black;">            
                <asp:Image ID="imgLogoEmpresa" runat="server" EnableViewState="False" ImageUrl="~/Imagens/SCJ_Logo2B.JPG"
                    Style="z-index: 100; left: 8px; position: relative; top: 4px" 
                />
                &nbsp;
                <asp:Label ID="lblModulo" runat="server" Style="z-index: 101; left: 180px; position: absolute; top: 18px" Text="Administrador" Width="300px" Font-Bold="True" ForeColor="White">
                </asp:Label>
                <asp:Label ID="lblModuloItem" runat="server" Style="z-index: 103; left: 180px; position: absolute; top: 41px" Width="300px" Font-Bold="True" ForeColor="White"></asp:Label>
            </td>
            <td id="L1C3" style="height: 68px; width: 20%; background-color: black; border-top-style: solid; border-top-color: black; border-right-style: solid; border-right-color: black;">          
                <asp:Image ID="imgLogoLIIOn" runat="server" ImageUrl="~/Imagens/LIIOn_MiniLogo2.jpg"
                    Style="z-index: 104; left: 25%; position: relative; top: 1px" ImageAlign="Baseline" />
            </td>
        </tr>
        <tr id="L2">
            <td id="L2C1" style="height: 450px; width: 10px;">
                &nbsp;
            </td>        
            <td id="L2C2" style="height: 450px; width: 80%; background-color: #ffff82; border-bottom-color: black; border-right-color: black; border-right-style: groove;" bgcolor="#ffffb4" valign="top">
                <table style="position: relative; top: 10px; left: 50px;" id="Header">
                    <tr>
                        <td align="right" style="width: 115px">
                            <asp:Label ID="Label15" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="Holding:"></asp:Label>
                        </td>
                        <td style="width: 530px; height: 23px;">
                            <asp:Label ID="lblHolding" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Font-Bold="True">SCJ - SC Johnson</asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 115px">
                            <asp:Label ID="Label5" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="Companhia:"></asp:Label></td>
                        <td style="width: 530px">
                            <asp:DropDownList ID="ddlCompanhia" runat="server" AutoPostBack="True" Font-Names="Tahoma"
                                Font-Size="Small" Style="position:  static"
                                Width="245px" Enabled="False">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 115px">
                            <asp:Label ID="Label6" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="Estabelecimento:"></asp:Label></td>
                        <td style="width: 530px">
                            <asp:DropDownList ID="ddlEstabelecimento" runat="server" AutoPostBack="True" Font-Names="Tahoma"
                                Font-Size="Small" Style="position:  static"
                                Width="245px" TabIndex="1" Enabled="False">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 115px">
                            <asp:Label ID="Label3" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static" Text="DDE:"></asp:Label></td>
                        <td style="width: 530px">
                            <asp:TextBox ID="txtDDE" runat="server" Style="position:  static" Width="125px" MaxLength="15" Font-Names="Tahoma" Font-Size="Small" TabIndex="2" Enabled="False"></asp:TextBox>
                            <asp:Label ID="Label11" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static"
                                Text="Data da DDE:"></asp:Label>
                            <asp:Label ID="lblDataRegistroDDE" runat="server" Font-Bold="True" Font-Names="Tahoma"
                                Font-Size="Small" Style="position: static"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 115px">
                            <asp:Label ID="Label19" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static"
                                Text="Qtde. de RE's:"></asp:Label></td>
                        <td style="width: 530px">
                            <asp:Label ID="lblQtdeItemsDDE" runat="server" Font-Bold="True" Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static" Text="0"></asp:Label>
                            <asp:Label ID="Label1" runat="server" Font-Bold="False" Font-Names="Tahoma" Font-Size="Small"
                                Style="position: static" Text="de"></asp:Label>
                            <asp:Label ID="lblQtdeItems" runat="server" Font-Bold="True" Font-Names="Tahoma"
                                Font-Size="Small" Style="position: static" Text="0"></asp:Label>
                            <asp:Label ID="Label23" runat="server" Font-Names="Tahoma" Font-Size="Small" Style="position: static"
                                Text="Valor total do despacho:"></asp:Label>
                            <asp:Label ID="lblValorTotalDespacho" runat="server" Font-Bold="True" Font-Names="Tahoma"
                                Font-Size="Small" Style="position: static"></asp:Label></td>
                    </tr>                    
                    </table>
                    <br /> 
                <asp:GridView ID="gvwData" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    CellPadding="4" ForeColor="#333333" GridLines="None" HorizontalAlign="Center" PageSize="8">
                    <RowStyle BackColor="#F7F6F3" Font-Names="Tahoma" Font-Size="Small" ForeColor="#333333"
                        Wrap="False" />
                    <Columns>
                        <asp:BoundField DataField="RE" HeaderText="RE" SortExpression="RE">
                            <HeaderStyle HorizontalAlign="Center" />
                            <ItemStyle HorizontalAlign="Center" Width="50px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DataRegistroRE" HeaderText="Data Registro" SortExpression="DataRegistroRE" DataFormatString="{0:dd/MM/yyyy}">
                            <HeaderStyle HorizontalAlign="Center" />
                            <ItemStyle HorizontalAlign="Center" Width="30px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Fatura" HeaderText="Fatura" SortExpression="Fatura">
                            <ItemStyle HorizontalAlign="Center" Width="20px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="ValorTotalFatura" DataFormatString="{0:##,##0.00}" HeaderText="Valor da Fatura"
                            SortExpression="ValorTotalFatura">
                            <ItemStyle HorizontalAlign="Right" Width="65px" />
                        </asp:BoundField>
                        <asp:CommandField SelectText="Sel" ShowSelectButton="True">
                            <ItemStyle Width="20px" />
                            <HeaderStyle HorizontalAlign="Center" />
                        </asp:CommandField>
                    </Columns>
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" Font-Names="Tahoma" Font-Size="Small"
                        ForeColor="White" />
                    <EditRowStyle BackColor="#999999" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                </asp:GridView>
            </td>
            <td id="L2C3" style="height: 450px; width: 20%; background-color: white; border-right-style: solid; border-right-color: black;">          
                &nbsp;
            </td>
        </tr>        
        <tr id="L3">
            <td id="L3C1" style="height: 12px; width: 10px;">
                &nbsp;
            </td>
            <td id="L3C2" style="height: 12px; width: 80%; background-color: #ffff82; 
                border-right-color: black; border-right-style: solid;
                border-bottom-color: black; border-bottom-style: solid;">
                <asp:Label 
                    ID="lblMsg" runat="server" 
                    Style="position: static;" 
                    Text=" " 
                    Font-Bold="True" Font-Names="Tahoma" Font-Size="Small" ForeColor="Red" Width="700px"></asp:Label>
            </td>
            <td id="L3C3" style="height: 12px; width: 20%; background-color: white; border-right-style: solid; border-right-color: black;">
                &nbsp;
            </td>
        </tr>                
        <tr id="L4">
            <td id="L4C1" style="height: 30px; width: 10px;">
                &nbsp;
            </td>
            <td id="L4C2" style="height: 30px; width: 80%; background-color: black;">
                &nbsp;                
                <asp:Button ID="btnIncluir" runat="server" Font-Names="Tahoma" Style="z-index: 100;
                    left: 1px; position: relative; top: 1px" Text="Incluir" Width="70px" Enabled="False" 
                />
                <asp:Button ID="btnConsultar" runat="server" Font-Names="Tahoma" Style="z-index: 100;
                    left: 3px; position: relative; top: 1px" Text="Consultar" Width="70px" Enabled="False" 
                />
                <asp:Button ID="btnAlterar" runat="server" Font-Names="Tahoma" Style="z-index: 100;
                    left: 5px; position: relative; top: 1px" Text="Alterar" Width="70px" Enabled="False" 
                />
                <asp:Button ID="btnExcluir" runat="server" Font-Names="Tahoma" Style="z-index: 100;
                    left: 7px; position: relative; top: 1px" Text="Excluir" Width="70px" Enabled="False" 
                />&nbsp;
                <asp:Button ID="btnVoltar" runat="server" Style="z-index: 100; left: 11px; position: relative;
                    top: 1px" Text="Voltar" Width="70px"
                />
            </td>
            <td id="L4C3" style="height: 30px; width: 20%; background-color: white; border-bottom-color: black; border-right-style: solid; border-right-color: black; border-bottom-style: solid;">
                &nbsp;
            </td>
        </tr>
    </table>
</form>
</body>
</html>

